package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.activity.ActivityListDTO;
import com.qk.entity.Activity;

import java.util.List;

/**
 * @author diva
 * @date 2025/10/9 14:53
 * @ProjectName
 */


public interface ActivityService {

    PageResult<Activity> list(ActivityListDTO dto);

    void delete(Integer id);

    void add(Activity activity);

    Activity getActivityById(Integer id);

    void update(Activity activity);

    List<Activity> getActivityByType(Integer type);
}
